Bilateral Stochastic Oscillator StrategyIntroduction
Strategy based on the bilateral stochastic oscillator, this oscillator aim to detect trends and possible reversal points of the current trend. The oscillator is composed of 1 bull line in blue and 1 bear line in red as well as a signal line in orange, the strategy have many options such as two different strategy framework and a martingale mode. If you require more information about the indicator go check it into my uploaded indicators.
Strategy Frameworks
There are two frameworks available that can be selected from the strategy settings window. Both have the same closing conditions, the "Bull/Bear Cross" entry conditions are :
Buy : when the bull line cross over the bear line
Sell : when the bear line cross over the bull line
The "Signal Cross" entry conditions are :
Buy : when the bull line cross over the signal line
Sell : when the bear line cross over the signal line
Both have the same close conditions that is : close when bull/bear cross under the signal line.
Introduction To Martingale
The martingale money management system consist to double the order size after a loosing trade and can be described as a 2^x where x is the current number of loosing trades since the last win trade, when we win a trade the order size return to the default order size. Therefore our order size function is based on exponential growth.
This system enable the trader to win back his previous losses plus a potential profit, martingales must always be used with stops and sometimes take profits in order to get control in a strategy.
It must always be taken into account that in a series of losses the balance can exponentially decay thus ending to 0 in a matter of trades, this is why it is not recommended to use such system. The strategy allow you to select a martingale multiplier that can be inferior to 2 thus limiting risks, a multiplied of 1 disable the martingale.
Results
Those are the some statistics of the strategy applied to some forex majors by using the default settings in a time frames of 15 minutes.
//-------------------------------------------------------
EURUSD - Order Size 1000 - Spread 0.0002
Profit : $ 21.08
Trades : 19
PP : 57.89 %
Profit Factor : 3.228
Max Drawdown : -$ 3.81
Average Trade : $ 1.11
//-------------------------------------------------------
GBPUSD - Order Size 1000 - Spread 0.0002
Profit : $ 2.31
Trades : 20
PP : 55 %
Profit Factor : 0.938
Max Drawdown : -$ 20.29
Average Trade : $ 0.12
//-------------------------------------------------------
EURAUD - Order Size 1000 - Spread 0.0002
Profit : -$ 9.22
Trades : 20
PP : 40 %
Profit Factor : 0.698
Max Drawdown : -$ 23.44
Average Trade : $ 0.46
//-------------------------------------------------------
EURCHF - Order Size 1000 - Spread 0.0002
Profit : $ 1.58
Trades : 24
PP : 54.17 %
Profit Factor : 1.103
Max Drawdown : -$ 7.23
Average Trade : $ 0.07
//-------------------------------------------------------
Conclusions
Based on the results the strategy does not posses the sufficient performance in order to apply a martingale or any other growth systems as order size. Parameters might be subject to drastic changes depending on the market/time-frame in order to return long-term positive results. I let you draw your conclusions.
Pesquisar nos scripts por "take profit"
MA cross strategyThis strategy uses simple moving average cross for entry signals, but it can be customized with 3 cases:
1- exit at take profit and stop loss;
2- exit when distance between close and moving average is above a user defined minimum;
3- use Renko candles to calculate the moving average without changing the graph candles.
The third case is the one with better results, but for non-pro users can be used only with daily time frame.
Look at profit factor and percent of winning trades.
You can test also on your favorite pair, but most important is setting correct brick size.
At request, I could share also a screener with alarms for finding which symbol statisfy entry rules.
Please use comment section for any feedback.
********************************** IMPORTANT*******************************
I have developed an expert advisor for metatrader4 (MT4): results of expert advisor form 2015-01-01 to today are very good with low drawdown and good profit.
********************************************************************************
Trend Hunter [BETA]This is in BETA now. Im reaching out to coders for some assistance on my "take profit" targets. As you can see, these are obviously plotshapes, How would I go about setting take profits for backtesting purposes? Thanks in advance
AutoTrendTrader Strategy"The Trend is your Friend" is a popular quote and Day-Traders, as well as long-term Investors, build their Strategies on top of this Mantra.
Leverage this Principle by using AutoTrendTrader to ride the Trend and let your Profits run!
Get Email-Alerts with your customized buy and sell signals, or use autoview to trigger and exit the trades.
Features:
Reliable Detection of Up- and Downtrends - this will enable you to enter strong Trends at the right time
Partial Profit Taking - Configure your perfect Mix of taking profits early vs. letting profits run
Reversing Signals - Limit your Draw-Down
Proprietary Algorithms combined with multiple Confirmations via other Technical Indicators
What's included:
AutoTrendTrader Study (generate Signals)
AutoTrendTrader Strategy (backtest your Settings)
SteveLeoStrat v275%+ accuracy on BTC/USD, IOTA/USD and a few others I have manually tested, only for 30M or 1H timeframe.
If you only take the strongest signals by using human judgement and other indicators, easily rises to 90% accuracy.
Backtested with 3 years of data and there is no repainting. You can use the replay data to check.
I also added an alert function so you can notify yourself when a long or short pops up.
Enter on long when entry is below the green line by at least 1%
Take profit when it reaches the green line or above.
Not all signals are equal. Use with MACD Crossover & Support + Resistance lines and you have a highly profitable system, plus there are other tricks I have discovered from fiddling with it for a long time.
Currently in beta testing for a paid educational program I am creating - can post below if you are interested and I will inform you when it launches.
Reversal Trap Sniper – Verified VersionReversal Trap Sniper
Overview
Reversal Trap Sniper is a counterintuitive momentum-following strategy that identifies "reversal traps"—situations where traders expect a market reversal based on RSI, but the price continues trending. By detecting these failed reversal signals, the strategy enters trades in the trend direction, often catching strong follow-through moves.
How It Works
The system monitors the Relative Strength Index (RSI). When RSI moves above the overbought level (e.g., 70) and then drops back below it, many traders interpret this as a sell signal.
However, this strategy treats such moves with caution. If the RSI pulls back below the overbought threshold but the price continues to rise, the system considers it a "reversal trap"—a fakeout.
In such cases, instead of going short, the strategy enters a long position, assuming that the trend is still valid and those betting on a reversal may fuel a breakout.
Similarly, if RSI rises above the oversold level from below, but price continues falling, a short trade is triggered.
Entries are followed by ATR-based stop-loss and dynamic take-profit (2× risk), with a fallback time-based exit after 30 bars.
Key Features
- Detects failed RSI-based reversals ("traps")
- Follows momentum after the trap is triggered
- Uses ATR for dynamic stop-loss and take-profit
- Auto-exit after a fixed bar count (30 bars)
- Visual markers on chart for transparency
- Realistic trading assumptions: 0.05% commission, slippage, and capped pyramiding
Parameter Explanation
RSI Length (14): Standard RSI calculation period
Overbought/Oversold Levels (70/30): Common thresholds used by many traders
ATR Length (14): Used to define stop-loss and target dynamically
Risk-Reward Ratio (2.0): Take-profit is set at 2× the stop-loss distance
Max Holding Bars (30): Ensures trades don’t remain open indefinitely
Pyramiding (10): Allows scaling into trades, simulating real-world strategy stacking
Originality Note
This strategy inverts traditional RSI logic. Instead of treating overbought/oversold conditions as signals for reversal, it waits for those signals to fail. Only after such failures, confirmed by continued price action in the same direction, does the system enter trades. This logic is based on the behavioral observation that failed reversal signals often trigger stronger trend continuation—making this strategy uniquely positioned to exploit trap scenarios.
Disclaimer
This script is for educational and research purposes only. Trading involves risk, and past performance does not guarantee future results. Always test thoroughly before applying with live capital.
nATR Reversal StrategyATR Reversal Strategy that has been extended to add an additional ATR based stoploss, trailing stop and take profit.
This script was developed as part of a professional development service. It is published for customer verification and acceptance.
For people interested in professional services, please visit the backtest-rookies (.com) website.
Features
nATR based Stop Loss added
nATR based Trailing stop added
nATR based Take profit added
Switches for each exit type to turn them on or off in the strategy
Plotting of all exit levels on the chart
Prevent reversing when using newly added exits.
Allow reversing when all exit switches are off and opposite long/short conditions are met.
The Always Winning Holy Grail Strategy - Not (by ChartArt)How to win all the time if 1+1 = 2
The most upvoted strategies on Tradingview are those which seemingly work 100%, but they actually don't at all because they are repainting and would not work in live trading reality. They are using the multi-time-frame strategy testing bug and thereby trade during the backtest on close prices before the bar has closed in reality.
Top list of these cheating repainting strategies:
1569 upvotes ANN Strategy
877 upvotes Vdub FX SniperVX3 Strategy
481 upvotes Get Trend Strategy
I guess there are much more strategies among the top upvoted strategies on Tradingview which cheat with a multi-time-frame close price, but three examples are enough. The ANN Strategy uses the daily close price as multi-time-frame and cheats with that. The Vdub FX SniperVX3 Strategy uses the half-day (720 minute) close price to cheat and the Get Trend Strategy uses the 160 minute bar close for repaint cheating (at least here the author of this strategy explains that his strategy is only demo and would not work, which might be the reason why it has 1000 less upvotes than the ANN Strategy. I already wrote months ago a comment underneat these strategies to explain this issue but it hasn't stopped these strategies from getting more and more upvotes and staying in the top list.
I thought this way of cheating is lame, so I invented a new way to cheat my way to seemingly reach 100% profitable trades all the time by going long if 1+1 is equal to 2. Welcome to super wide stop losses. Simply use a extreme unrealistic large stop loss and take profit after a realistic amount of pips and according to Tradingview's current backtest module you win 100% all the time. Yay! :)
My recommendation for the Tradingview team is to add a function to let the user define a stop out and margin call level and maybe set a realistic setting as default, like 100%.
Please don't trade with this strategy!
How to automate this strategy for free using a chrome extension.Hey everyone,
Recently we developed a chrome extension for automating TradingView strategies using the alerts they provide. Initially we were charging a monthly fee for the extension, but we have now decided to make it FREE for everyone. So to display the power of automating strategies via TradingView, we figured we would also provide a profitable strategy along with the custom alert script and commands for the alerts so you can easily cut and paste to begin trading for profit while you sleep.
Step 1:
You are going to need to download the Chrome Extension called AutoView. You can get the extension for free by following this link: bit.ly ( I had to shorten the link as it contains Google and TV automatically converts it to a symbol)
Step 2: Go to your chrome extension page, and under the new extension you'll see a "settings" button. In the setting you will have to connect and give permission to the exchange 1broker allowing the extension to place your orders automatically when triggered by an alert.
Step 3: Setup the strategy and custom script for the alerts in TradingView. The attached script is the strategy, you can play with the settings yourself to try and get better numbers/performance if you please.
This following script is for the custom alerts:
//@version=2
study("4All-Alert", shorttitle="Alerts")
src = close
len = input(4, minval=1, title="Length")
up = rma(max(change(src), 0), len)
down = rma(-min(change(src), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsin = input(5)
sn = 100 - rsin
ln = 0 + rsin
short = crossover(rsi, sn) ? 1 : 0
long = crossunder(rsi, ln) ? 1 : 0
plot(long, "Long", color=green)
plot(short, "Short", color=red)
Now that you have the extension installed, the custom strategy and alert scripts in place, you simply need to create the alerts.
To get the alerts to communicate with the extension properly, there is a specific syntax that you will need to put in the message of the alert. You can find more details about the syntax here : gist.github.com
For this specific strategy, I use the Alerts script, long/short greater than 0.9 on close.
In the message for a long place this as your message:
Long
c=order b=short
c=position b=short l=200 t=market
b=long q=0.01 l=200 t=market tp=13 sl=25
and for the short...
Short
c=order b=long
c=position b=long l=200 t=market
b=short q=0.01 l=200 t=market tp=13 sl=25
If you'll notice in my above messages, compared to the strategy my tp and sl (take profit and stop loss) vary by a few pips. This is to cover the market opens and spread on 1broker. You can change the tp and sl in the strategy to the above and see that the overall profit will not vary much at all.
I hope this all makes sense and it is enough to not only make some people money, but to show the power of coming up with your own strategy and automating it using TradingView alerts and the free Chrome Extension AutoView.
ps. I highly recommend upgrading your TradingView account so you have access to back testing and multiple alerts.
There is really no reason you won't cover the cost and then some on a monthly basis using the tools provided.
Best of luck and happy trading.
Note: The extension currently allows for automation on 2 exchanges; 1broker and Okcoin. If you do not have accounts there, we'd appreciate you signing up using our referral links.
www.okcoin.com
1broker.com
BTC Breakout Bot (TP/SL + Alerts)📈 BTC Breakout Bot (TP/SL + Alerts)
This strategy is designed for Bitcoin (BTC/USDT) on breakout trades. It detects price breakouts using recent highs and lows, and automatically handles:
✅ Long and short entries
✅ Take Profit and Stop Loss levels
✅ Built-in alert system (compatible with Telegram/webhook)
✅ Customizable lookback, TP, and SL settings
Strategy logic:
Enters a long position when price breaks above the highest high of the last N candles.
Enters a short position when price breaks below the lowest low of the last N candles.
Each trade includes a dynamic Take Profit and Stop Loss based on a % of entry price.
Alerts are triggered for every breakout trade (long or short).
Parameters:
Breakout Lookback: Number of candles to check for breakouts (default: 20)
Take Profit (%): TP level based on percentage from entry (default: 5%)
Stop Loss (%): SL level based on percentage from entry (default: 2%)
Pivot Squeeze StrategyAn extension of my Pivot % Indicator.
How It Works:
The indicator calculates the percentage distance between your current price and the last pivot high/low points. When this distance shrinks below your squeeze threshold (default 5%), you're in compression mode. When it explodes beyond the squeeze threshold, that's your signal to jump in.
Key Features:
Visual Histogram: Green/red bars show if you're above/below pivot levels, orange means you're in the squeeze zone
Smart Exits: Optional breakout cross-under exits (long trades exit when crossing back under the upper breakout line, shorts exit when crossing back above the lower line)
Risk Management: Built-in ATR-based stop losses and take profits
Multiple Trade Modes: Go long-only, short-only, or both directions
Date Range: Backtest the strategy within different timeframes
Looks promising for more volatile tickers or crypto
Supertrend AT v1.0📌 Supertrend AT v1.0 — Strategy Overview
Overview
Supertrend AT v1.0 is a fully automated trading strategy based on the Supertrend indicator.
It identifies trend reversals and places long or short entries accordingly, with built-in position sizing, stop-loss/take-profit management, and commission-aware calculations.
🚀 Key Features
✅ Entry Signals Based on Trend Reversals
Long entry when Supertrend changes from downtrend to uptrend
Short entry when Supertrend changes from uptrend to downtrend
✅ Risk-Based Position Sizing
Calculates position size so that a stop-loss only risks a fixed percentage (RPT) of total capital
✅ Reward/Risk Ratio-Based Target Price Calculation
Take-profit price is computed not by price difference, but by actual loss and desired reward-to-risk (RR) ratio
✅ Fully Commission-Aware
Commission is factored into entry, stop-loss, and take-profit price calculations
Ensure commission settings match in both the input panel and the strategy properties tab
✅ Dual Language Support
Switch between English and Korean interface
✅ Visual Trade Levels & Info Display
Entry, stop, and target prices plotted on the chart
Real-time open PnL and equity shown in an on-screen table
⚙️ How to Use
Apply Strategy to Chart
Load the strategy and configure the following parameters in both the Input tab and the Properties tab:
Commission rate (e.g., 0.05%)
Market decimal precision (e.g., 4 for 0.0001)
Adjust Entry Parameters
RPT: Risk per trade as a percentage of your total equity (e.g., 2%)
RR: Reward-to-risk ratio (e.g., 3 = target profit is 3× the potential loss)
Choose whether to allow Long or Short trades
For Auto-Trading Integration
Make sure the minimum order size is valid for your exchange
If the calculated quantity is below the exchange's minimum unit, it may result in errors
⚠️ Important Notes
❗ Non-Repainting — Supertrend is based on confirmed candles and does not repaint
❗ Backtest-Only — The strategy is for signal generation only and does not execute real trades without external automation
❗ Margin-Based Calculations — Default settings assume margin trading; adjust accordingly
📄 License & Disclaimer
This strategy is licensed under the Mozilla Public License 2.0.
This script is not financial advice. Use at your own risk.
Always test thoroughly with backtesting and paper trading before using in live markets.
Random Coin Toss Strategy📌 Overview
This strategy is a probability-based trading simulation that randomly decides trade direction using a coin-toss mechanism and executes trades with a customizable risk-reward ratio. It's designed primarily for testing entry frequency and risk dynamics, not predictive accuracy.
🎯 Core Concept
Every N bars (configurable), the strategy performs a pseudo-random coin toss.
Based on the result:
If heads → Buy
If tails → Sell
Once a position is opened, it sets a Stop-Loss (SL) and Take-Profit (TP) based on a multiple of the current ATR (Average True Range) value.
⚙️ Configurable Inputs
ATR Length Period for ATR calculation, determines volatility basis.
SL Multiplier SL distance = ATR × multiplier (e.g., 1.0 means 1x ATR) .
TP Multiplier TP distance = ATR × multiplier (e.g., 2.0 = 2x ATR) .
Entry Frequency Bars to wait between each new coin toss decision.
Show TP/SL Zones Toggle on/off for drawing visual TP and SL zones.
Box Size Number of bars used to define the width of the TP/SL boxes.
🔁 Entry & Exit Logic
Entry:
Happens only when no current position exists and it's the correct bar interval.
Entry direction is randomly decided.
Exit:
Positions exit at either:
Take-Profit (TP) level
Stop-Loss (SL) level
Both are calculated using the configured ATR-based distances.
🖼️ Visual Features
TP and SL zones:
Rendered as shaded rectangles (boxes) only once per trade.
Green box for TP zone, red box for SL zone.
Automatically deleted and redrawn for each new trade to avoid chart clutter.
ATR Display Table:
A minimal info table at the top-right shows the current ATR value.
Updates every few bars for performance.
🧪 Use Cases
Ideal for risk-reward modeling, strategy prototyping, and understanding how volatility-based SL/TP behavior affects results.
Great for backtesting frequency, RR tweaks (e.g., 2:5 or 3:1), and execution structure in random conditions.
⚠️ Disclaimer
Since the trade direction is random, this script is not meant for predictive trading but serves as a powerful experiment framework for studying how SL, TP, and volatility interact with random chance in a controlled, repeatable system.
NQ Lunch Model
This strategy runs on NQ (or MNQ) futures during the New York Lunch session (12:00–13:00 ET) and automatically:
Calculates contract size from your risk-per-trade (default $300) using ATR- or swing-based stops
Enforces a configurable minimum reward-to-risk ratio before entry
Draws on-chart R/R boxes showing entry, SL, TP, size, and RR
Displays a live status table with trade details (direction, entry, SL, TP, contracts)
(Optional) Sends Telegram alerts for entries, take-profits, and stop-losses
Relative Volume Strategy📈 Relative Volume Strategy by GabrielAmadeusLau
This Pine Script strategy combines volume-based momentum analysis with price action filtering, breakout detection, and dynamic stop-loss/take-profit logic, allowing for highly adaptable long and short entries. It is particularly suited for traders looking to identify reversals or continuation setups based on relative volume spikes and candle behavior.
🧠 Core Concept
At its core, this strategy uses a Relative Volume %R oscillator, comparing the current volume to its historical range using a Williams %R-like calculation. The oscillator is paired with dual moving average filters (Fast & Slow) to identify when volume is expanding or contracting.
Entries are further refined using a configurable price action filter based on the structure of bullish or bearish candles:
Simple: Basic up/down bar
Filtered: Range-based strength confirmation
Aggressive: Momentum-based breakout
Inside: Reversal bar patterns
Combinations of the above can be toggled for both long and short entries.
⚙️ Configurable Features
Trade Direction Control: Choose between Long Only, Short Only, or Both.
Directional Bar Modes: Set different conditions for long and short bar types (Simple, Filtered, Aggressive, Inside).
Breakout Filter: Optional filter to exclude trades near 5-bar highs/lows to avoid poor R/R trades.
Stop Loss & Take Profit System:
ATR-based dynamic SL/TP.
Configurable multipliers for both SL and TP.
Timed Exit: Optional bar-based exit after a fixed number of candles.
Custom Volume MA Smoothing: Choose from various smoothing algorithms (SMA, EMA, JMA, T3, Super Smoother, etc.) for both fast and slow volume trends.
Relative Volume Threshold: Minimum %R level for trade filtering.
📊 Technical Indicators Used
Relative Volume %R: A modified version of Williams %R, calculated on volume.
Dual Volume MAs: Fast and Slow MAs for volume trends using user-selected smoothing.
ATR: Average True Range for dynamic SL/TP calculation.
Breakout High/Low: 5-bar breakout thresholds to avoid late entries.
🚀 Trade Logic
Long Entry:
Volume > Fast MA > Slow MA
Relative Volume %R > Threshold
Price passes long directional filter
Optional: below recent breakout high
Short Entry:
Volume < Fast MA < Slow MA
Relative Volume %R < 100 - Threshold
Price passes short directional filter
Optional: above recent breakout low
Exits:
After N bars (configurable)
ATR-based Stop Loss / Take Profit if enabled
📈 Visualization
Orange Columns: Relative Volume %R
Green Line: Fast Volume MA
Red Line: Slow Volume MA
💡 Use Case
Ideal for:
Reversal traders catching capitulation or accumulation spikes
Momentum traders looking for volume-confirmed trends
Quantitative strategy developers wanting modular MA and price action filter logic
Intraday scalpers or swing traders using relative volume dynamics
Created by: GabrielAmadeusLau
License: Mozilla Public License 2.0
🔗 mozilla.org
BTC SmartMoney + SQZMOM + EMA + Cloud + Trailing Stop (v2.5)🚀 BTC 15-Minute Smart Strategy: SmartMoney + SQZMOM + EMA + Trailing Stop
Designed specifically for the fast-paced and volatile crypto market, this strategy is finely tuned to deliver maximum performance on Bitcoin’s 15-minute chart.
🌟 Key Features:
SmartMoney Concepts (SMC) based CHoCH signals to detect market structure shifts and capture early trend reversals.
SQZMOM (Squeeze Momentum Oscillator) to gauge strong volatility and momentum confluence.
50 & 200 EMA Cloud combining short-term and long-term trend filters for reliable market direction.
ATR-based and manually adjustable Trailing Stop for flexible and automated risk management.
Scientifically optimized Take Profit and Stop Loss levels to minimize losses and maximize gains.
Clear exit labels on chart for real-time trade tracking and decision making.
🔥 Why Choose This Strategy?
Provides fast and reliable signals on 15-minute timeframe, protecting you against sudden market moves.
Maximizes profits with trailing stops while keeping risks controlled.
Built on professional financial models, ideal for both beginners and experienced traders.
📈 How to Use
Easily deploy on TradingView with flexible parameters that adjust to your trading style. Automates entry and exit decisions based on real-time market conditions.
A powerful companion for traders who want a reliable yet aggressive approach to BTC trading on the 15-minute timeframe.
Warrior Trading Momentum Strategy
# 🚀 Warrior Trading Momentum Strategy - Day Trading Excellence
## Strategy Overview
This comprehensive Pine Script strategy replicates the proven methodologies taught by Ross Cameron and the Warrior Trading community. Designed for active day traders, it identifies high-probability momentum setups with strict risk management protocols.
## 📈 Core Trading Setups
### 1. Gap and Go Trading
- **Primary Focus**: Stocks gapping up 2%+ with volume confirmation
- **Entry Logic**: Breakout above gap open with momentum validation
- **Volume Filter**: 2x average volume requirement for quality setups
### 2. ABCD Pattern Recognition
- **Pattern Detection**: Automated identification of classic ABCD reversal patterns
- **Validation**: A-B and C-D move relationship analysis
- **Entry Trigger**: D-point breakout with volume confirmation
### 3. VWAP Momentum Plays
- **Strategy**: Entries near VWAP with bounce confirmation
- **Distance Filter**: Configurable percentage distance for optimal entries
- **Direction Bias**: Above VWAP bullish momentum validation
### 4. Red to Green Reversals
- **Setup**: Reversal patterns after consecutive red candles
- **Confirmation**: Volume spike with bullish close required
- **Momentum**: Trend change validation with RSI support
### 5. Breakout Momentum
- **Logic**: Breakouts above recent highs with volume
- **Filters**: EMA20 and RSI confirmation for quality
- **Trend**: Established momentum direction validation
## ⚡ Key Features
### Smart Risk Management
- **Position Sizing**: Automatic calculation based on account risk percentage
- **Stop Loss**: 2 ATR-based stops for volatility adjustment
- **Take Profit**: Configurable risk-reward ratios (default 1:2)
- **Trailing Stops**: Profit protection with adjustable triggers
### Advanced Filtering System
- **Time Filters**: Market hours trading with lunch hour avoidance
- **Volume Confirmation**: Multi-timeframe volume analysis
- **Momentum Indicators**: RSI and moving average trend validation
- **Quality Control**: Multiple confirmation layers for signal accuracy
### PDT-Friendly Design
- **Trade Limiting**: Built-in daily trade counter for accounts under $25K
- **Selective Trading**: Priority scoring system for A+ setups only
- **Quality over Quantity**: Maximum 2-3 high-probability trades per day
## 🎯 Optimal Usage
### Best Timeframes
- **Primary**: 5-minute charts for entry timing
- **Secondary**: 1-minute for precise execution
- **Context**: Daily charts for gap analysis
### Ideal Market Conditions
- **Volatility**: High-volume, momentum-driven markets
- **Stocks**: Market cap $100M+, average volume 1M+ shares
- **Sectors**: Technology, biotech, growth stocks with news catalysts
### Account Requirements
- **Minimum**: $500+ for proper position sizing
- **Recommended**: $25K+ for unlimited day trading
- **Risk Tolerance**: Active day trading experience preferred
## 📊 Performance Optimization
### Entry Criteria (All Must Align)
1. ✅ Time filter (market hours, avoid lunch)
2. ✅ Volume spike (2x+ average volume)
3. ✅ Momentum confirmation (RSI 50-80)
4. ✅ Trend alignment (above EMA20)
5. ✅ Pattern completion (setup-specific)
### Risk Parameters
- **Maximum Risk**: 1-2% per trade
- **Position Size**: 25% of account maximum
- **Stop Loss**: 2 ATR below entry
- **Take Profit**: 2:1 risk-reward minimum
## 🔧 Customization Options
### Gap Trading Settings
- Minimum gap percentage threshold
- Volume multiplier requirements
- Gap validation criteria
### Pattern Recognition
- ABCD ratio parameters
- Swing point sensitivity
- Pattern completion filters
### Risk Management
- Risk-reward ratio adjustment
- Maximum daily trade limits
- Trailing stop trigger levels
### Time and Session Filters
- Trading session customization
- Lunch hour avoidance toggle
- Market condition filters
## ⚠️ Important Disclaimers
### Risk Warning
- **High Risk**: Day trading involves substantial risk of loss
- **Capital Requirements**: Only trade with risk capital
- **Experience**: Strategy requires active monitoring and experience
- **Market Conditions**: Performance varies with market volatility
### PDT Considerations
- **Day Trading Rules**: Accounts under $25K limited to 3 day trades per 5 days
- **Compliance**: Strategy includes trade counting for PDT compliance
- **Alternative**: Consider swing trading modifications for smaller accounts
### Backtesting vs Live Trading
- **Slippage**: Real trading involves execution delays and slippage
- **Commissions**: Factor in broker fees for accurate performance
- **Market Impact**: Large positions may affect fill prices
- **Psychological Factors**: Live trading involves emotional challenges
## 📚 Educational Value
This strategy serves as an excellent learning tool for understanding:
- Professional day trading methodologies
- Risk management principles
- Pattern recognition techniques
- Volume and momentum analysis
- Multi-timeframe analysis
## 🤝 Community and Support
Based on proven Warrior Trading methodologies with active community support. Strategy includes comprehensive plotting and information tables for educational purposes and trade analysis.
---
**Disclaimer**: This strategy is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and never risk more than you can afford to lose.
**Tags**: #DayTrading #Momentum #WarriorTrading #GapAndGo #ABCD #VWAP #PatternTrading #RiskManagement
MNQ1! 15min NW Strategy V2.0This strategy is built specifically for the MNQ1! futures contract on the 15-minute timeframe. It identifies and trades a specific price action setup where candles have little to no wick (either top or bottom), indicating potential momentum continuation. The system places pending limit orders with defined stop-loss and take-profit levels based on ATR volatility.
🔍 Key Features:
Only runs on MNQ1! and the 15-minute chart (errors otherwise to prevent misuse).
Detects "no-wick" candles based on configurable wick and body size filters.
Supports session-based trading (default: 02:00–16:00 NY time).
Executes limit-style entries placed a set number of points away from candle levels.
Uses ATR-based stop-loss and take-profit calculations for adaptive risk control.
Cancels orders automatically after a configurable number of bars if not filled.
Built-in performance statistics table shows live metrics on strategy results.
Trade signals and SL/TP levels are plotted directly on the chart for easy visualization.
⚙️ User Inputs Include:
Candle Settings: Wick percentage, min/max body size
Risk Settings: ATR multiplier, risk/reward (TP), contract size
Strategy Settings: Session time, entry offset distance, cancel-after bars
Performance Table: Toggle visibility, starting balance for display calculations
📈 Performance Table Metrics:
Total trades
Starting and ending balance
Net return in $ and %
Win rate
Maximum drawdown (in $ and %)
⚠️ Notes:
This strategy does not repaint.
Meant for educational and research purposes only — it is not financial advice.
Results may vary based on market conditions, latency, and broker execution. Always forward-test before using in live trading.
Darvas Box Short Squeeze Strategy//@version=5
strategy("Darvas Box Short Squeeze Strategy", overlay=true)
// Inputs for the Darvas Box
darvasLength = input(20, title="Darvas Box Length")
riskRewardRatio = input(3, title="Risk to Reward Ratio")
riskAmount = input(100, title="Risk Amount ($)")
// Calculate the highest high and lowest low for Darvas Box
var float highLevel = na
var float lowLevel = na
var float darvasHigh = na
var float darvasLow = na
var bool inBox = false
if (high >= ta.highest(high, darvasLength) )
highLevel := high
inBox := true
if (low <= ta.lowest(low, darvasLength) )
lowLevel := low
inBox := false
if (inBox)
darvasHigh := highLevel
darvasLow := lowLevel
// Short Squeeze Condition: Significant upward movement with high volume
shortSqueezeCondition = (close > darvasHigh and volume > ta.sma(volume, 20))
// Entry logic for shorting on resistance
if (shortSqueezeCondition and close >= darvasHigh)
strategy.entry("Short", strategy.short)
// Long entry on major support (if price breaches below darvasLow)
if (close <= darvasLow)
strategy.entry("Long", strategy.long)
// Risk and Reward Levels
var float longTakeProfit = na
var float longStopLoss = na
var float shortTakeProfit = na
var float shortStopLoss = na
if (strategy.position_size > 0) // For Long position
longTakeProfit := strategy.position_avg_price * (1 + riskRewardRatio / 1)
longStopLoss := strategy.position_avg_price - (riskAmount / strategy.position_size)
if (strategy.position_size < 0) // For Short position
shortTakeProfit := strategy.position_avg_price * (1 - riskRewardRatio / 1)
shortStopLoss := strategy.position_avg_price + (riskAmount / (strategy.position_size))
// Exit logic
if (strategy.position_size > 0)
strategy.exit("Take Profit Long", from_entry="Long", limit=longTakeProfit, stop=longStopLoss)
if (strategy.position_size < 0)
strategy.exit("Take Profit Short", from_entry="Short", limit=shortTakeProfit, stop=shortStopLoss)
// Plotting levels for visualization
plot(longTakeProfit, color=color.green, style=plot.style_cross, title="Long Take Profit")
plot(longStopLoss, color=color.red, style=plot.style_cross, title="Long Stop Loss")
plot(shortTakeProfit, color=color.green, style=plot.style_cross, title="Short Take Profit")
plot(shortStopLoss, color=color.red, style=plot.style_cross, title="Short Stop Loss")
PRO Trading: CCI Grid Master### English
**Strategy Name:**
PRO Trading: CCI Grid Master
**Description:**
Modern grid trading strategy combining CCI and RSI indicators with intelligent position management. Features 5-level averaging, adaptive stop loss, and three take profit calculation methods. Optimized for lower timeframes (1-15 minutes) where signals are more frequent - higher timeframes generate fewer trading opportunities.
---
#### 🌟 Concept and Uniqueness
CCI Grid Master stands out with its:
- Confirmed entry signals (2+ for longs, 4+ for shorts)
- Exponential position scaling
- Three TP calculation methods
- Visual grid levels on chart
- Risk-managed approach
*Secret ingredient: Custom indicator periods and specialized false signal filtration system that significantly reduces bad entries.*
Unlike basic grid strategies, it implements:
1. Signal confirmation to reduce false entries
2. Smart volume management
3. Multi-layer capital protection
4. Professional risk controls
---
#### 💰 Value Proposition
- **Beginners**: Clear visualization and simple setup
- **Pros**: Advanced risk management controls
- **Algo Traders**: Consistent logic for automation
- **Risk Managers**: Built-in capital protection
Tested across various market conditions (trend, flat, volatile) with consistent results.
---
#### ⚙️ How It Works
**Signal Generation:**
- CCI + RSI combo with custom periods
- Long: CCI < -100 & RSI < 20
- Short: CCI > 100 & RSI > 80
- Signal confirmation (2+ signals/4 bars for longs, 4+ for shorts)
**Grid Mechanics:**
1. First entry (5% equity default)
2. 5 averaging levels at 1.8% intervals
3. Exponential volume scaling (1.6x multiplier)
**Position Management:**
- 3 TP methods:
1. From First Entry
2. From Average (updated on averaging)
3. Realtime Average
- Adaptive stop loss (80% from avg price)
- Opposite signal closing option
**Visuals:**
- Green/Red line: Average entry price (Green for long, Red for short)
- Blue line: Take profit level
- Purple line: Stop loss
- Gray circles: Averaging levels
---
#### 🛠 Setup & Usage
**Recommended Settings:**
```ini
First Entry %: 5.0
Volume Multiplier: 1.6
Grid Step: 1.8%
Profit Target: 1.0%
Stop Loss: 80%
```
**Timeframe Note:**
Optimal performance on 1-15 min charts. Higher timeframes (1H+) may generate fewer signals but offer higher reliability.
**Customization:**
- Conservative:
- Lower First Entry % (2-3%)
- Increase Stop Loss (100-120%)
- Use "Realtime Average" TP
- Aggressive:
- Increase Volume Multiplier (1.8-2.0)
- Reduce Grid Step (1.0-1.5%)
- Use "From First Entry" TP
---
#### ❓ FAQ
**Q:** Why 4 signals for shorts?
**A:** Our proprietary filtration system requires stronger confirmation for short entries to avoid false signals in volatile markets.
**Q:** How to choose TP method?
**A:**
- First Entry: Strong trends
- From Average: Balanced approach
- Realtime: Volatile/range-bound markets
**Q:** Why exponential volume scaling?
**A:** Mathematical approach to lower average entry price while controlling risk exposure.
**Q:** Crypto compatibility?
**A:** Excellent for volatile assets (BTC, ETH, LTC).
---
#### ⚠️ Risk Warning
1. Grid strategies carry higher risk - use risk capital only
2. Always backtest before live trading
3. Minimum account: $1000+ for proper scaling
4. Avoid low-liquidity instruments
5. Never risk >5% per trade
---
#### 💡 Conclusion
PRO Trading: CCI Grid Master delivers professional-grade trading with visual clarity and advanced risk management. Perfect for traders seeking systematic approaches in any market.
*Happy Trading with PRO Trading!*
**Default Settings:**
Optimized for 1-15min timeframes. For daily charts, increase grid step to 2.5%. For crypto, reduce grid step to 1.5% and increase stop loss to 100%.
### Русское описание (Russian Description)
**Название стратегии:**
PRO Trading: CCI Grid Master
**Описание:**
Современная сеточная стратегия, сочетающая индикаторы CCI и RSI с интеллектуальным управлением позицией. Особенности: 5 уровней усреднения, адаптивный стоп-лосс и три метода расчета тейк-профита. Оптимизирована для младших таймфреймов (1-15 минут) с более частыми сигналами - на старших таймфреймах торговых возможностей меньше.
---
#### 🌟 Концепция и уникальность
CCI Grid Master выделяется:
- Подтвержденными сигналами входа (2+ для лонга, 4+ для шорта)
- Экспоненциальным наращиванием позиции
- Тремя методами расчета TP
- Визуализацией уровней сетки
- Профессиональным управлением рисками
*Секретный ингредиент: Кастомные периоды индикаторов и специальная система фильтрации ложных сигналов, значительно снижающая неверные входы.*
В отличие от простых сеточных стратегий:
1. Фильтрация сигналов снижает ложные входы
2. Умное управление объемом позиций
3. Многоуровневая защита капитала
4. Профессиональный контроль рисков
---
#### 💰 Ценность
- **Новичкам**: Простота настройки и визуализация
- **Профи**: Гибкое управление рисками
- **Алготрейдерам**: Стабильная логика для автоматизации
- **Риск-менеджерам**: Встроенная защита депозита
Протестирована в различных рыночных условиях с устойчивыми результатами.
---
#### ⚙️ Как работает
**Генерация сигналов:**
- Комбинация CCI + RSI с кастомными периодами
- Лонг: CCI < -100 и RSI < 20
- Шорт: CCI > 100 и RSI > 80
- Подтверждение сигнала (2+ сигнала за 4 бара для лонга, 4+ для шорта)
**Механика сетки:**
1. Первый вход (5% от депозита)
2. 5 уровней усреднения с шагом 1.8%
3. Экспоненциальное увеличение объема (множитель 1.6х)
**Управление позицией:**
- 3 метода TP:
1. От первого входа
2. От средней цены (обновляется при усреднении)
3. От текущей средней цены (реалтайм)
- Адаптивный стоп-лосс (80% от средней цены)
- Опция закрытия при противоположном сигнале
**Визуализация:**
- Зеленая/Красная линия: Средняя цена входа (Зеленая для лонга, Красная для шорта)
- Синяя линия: Уровень тейк-профита
- Фиолетовая линия: Стоп-лосс
- Серые кружки: Уровни для усреднения
---
#### 🛠 Настройка и использование
**Рекомендуемые параметры:**
```
Процент первого входа: 5.0
Множитель объема: 1.6
Шаг сетки: 1.8%
Цель прибыли: 1.0%
Стоп-лосс: 80%
```
**Примечание по таймфреймам:**
Лучшие результаты на таймфреймах 1-15 минут. На старших таймфреймах (1H+) сигналов меньше, но выше надежность.
**Кастомизация:**
- Консервативно:
- Уменьшить процент входа (2-3%)
- Увеличить стоп-лосс (100-120%)
- Использовать "Realtime Average" TP
- Агрессивно:
- Увеличить множитель объема (1.8-2.0)
- Уменьшить шаг сетки (1.0-1.5%)
- Использовать "From First Entry" TP
---
#### ❓ FAQ
**В:** Почему для шорта нужно 4 сигнала?
**О:** Наша система фильтрации требует более сильного подтверждения для шортовых входов, чтобы избежать ложных сигналов на волатильном рынке.
**В:** Как выбрать метод TP?
**О:**
- От первого входа: Сильные тренды
- От средней цены: Сбалансированный подход
- Realtime Average: Волатильные/боковые рынки
**В:** Зачем экспоненциальное увеличение объема?
**О:** Математический подход к снижению средней цены входа при контроле риска.
**В:** Подходит для крипторынка?
**О:** Отлично работает на волатильных активах (BTC, ETH, LTC).
---
#### ⚠️ Предупреждение о рисках
1. Сеточные стратегии несут повышенный риск - используйте только риск-капитал
2. Всегда тестируйте на исторических данных
3. Минимальный депозит: $1000+
4. Избегайте низколиквидных активов
5. Риск на сделку не должен превышать 5%
---
#### 💡 Заключение
PRO Trading: CCI Grid Master - профессиональный инструмент с продвинутым управлением рисками. Идеально подходит для системной торговли на любом рынке.
*Удачных торгов с PRO Trading!*
---
**Параметры по умолчанию:**
Оптимизированы для таймфреймов 1-15 мин. Для дневных графиков увеличьте шаг сетки до 2.5%. Для крипторынка уменьшите шаг до 1.5% и увеличьте стоп-лосс до 100%.
Supply/Demand Zones + Engulfment-based ExecutionSupply/Demand Zones + Engulfment-Based Execution
Strategy Overview
This strategy combines institutional trading concepts—supply/demand zones and engulfing candle patterns—to generate high-probability long and short trade setups. The system uses aggregated price action to identify potential reversal zones and confirms entries with engulfing candle patterns, ensuring trades are only taken when market structure shows commitment in the direction of the trade.
Core Concepts
• Supply & Demand Zones: These are automatically detected by analyzing aggregated bullish and bearish candle structures over user-defined intervals. Supply zones are formed after bearish continuation patterns; demand zones appear after bullish continuation patterns.
• Engulfing Entries: Once price enters a zone, the strategy waits for a bullish engulfing pattern (in a demand zone) or a bearish engulfing pattern (in a supply zone) before executing a trade. This adds confirmation and reduces false signals.
• Risk Management: Stop-loss is placed at the low (for long trades) or high (for short trades) of the engulfed candle. Take-profit can be calculated using a fixed R-multiple (risk-to-reward ratio) or a user-defined target price.
Key Features
Fully customizable aggregation factor for zone detection
Visual zone boxes, entry/SL/TP boxes, and engulfing pattern labels
Optional removal of mitigated zones for cleaner charting
Configurable trade mode (Long only, Short only, or Both)
Support for trading sessions and date filtering
Alerts for price entering supply or demand zones
How to Use
Select Aggregation Factor: Choose how many candles to group together for identifying key zones (e.g., 4x timeframe).
Enable Zones: Turn on supply and/or demand zones as needed.
Set Execution Parameters:
– Choose R-multiple (e.g., 2:1 risk-reward)
– Or use a fixed take-profit price
Define Trade Time Window:
– Set the date and time ranges to restrict execution
– Use Start Hour and End Hour to limit trades to specific sessions (e.g., London/New York)
Run on Desired Timeframe: Typically used on 15m–4H charts, depending on your strategy and the asset’s volatility.
Ideal For
• Traders using Smart Money Concepts (SMC)
• Those who value high-confluence entries
• Intraday to swing traders looking for structure-based automation
⚠️ Important Notes
• The strategy requires engulfing confirmation within the zone to enter a position.
• This script does not repaint and executes trades on a bar close basis.
• Backtest results may vary based on session filters and aggregation factor.
© Attribution
This strategy was developed by The_Forex_Steward and is licensed under the Mozilla Public License 2.0.
You are free to use, modify, and distribute it under the terms of that license.
Volatility Bias ModelVolatility Bias Model
Overview
Volatility Bias Model is a purely mathematical, non-indicator-based trading system that detects directional probability shifts during high volatility market phases. Rather than relying on classic tools like RSI or moving averages, this strategy uses raw price behavior and clustering logic to determine potential breakout direction based on recent market bias.
How It Works
Over a defined lookback window (default 10 bars), the strategy counts how many candles closed in the same direction (i.e., bullish or bearish).
Simultaneously, it calculates the price range during that window.
If volatility is above a minimum threshold and a clear directional bias is detected (e.g., >60% of closes are bullish), a trade is opened in the direction of that bias.
This approach assumes that when high volatility is coupled with directional closing consistency, the market is probabilistically more likely to continue in that direction.
ATR-based stop-loss and take-profit levels are applied, and trades auto-exit after 20 bars if targets are not hit.
Key Features
- 100% non-indicator-based logic
- Statistically-driven directional bias detection
- Works across all timeframes (1H, 4H, 1D)
- ATR-based risk management
- No pyramiding, slippage and commissions included
- Compatible with real-world backtesting conditions
Realism & Assumptions
To make this strategy more aligned with actual trading environments, it includes 0.05% commission per trade and a 1-point slippage on every entry and exit.
Additionally, position sizing is set at 10% of a $10,000 starting capital, and no pyramiding is allowed.
These assumptions help avoid unrealistic backtest results and make the performance metrics more representative of live conditions.
Parameter Explanation
Bias Window (10 bars): Number of past candles used to evaluate directional closings
Bias Threshold (0.60): Required ratio of same-direction candles to consider a bias valid
Minimum Range (1.5%): Ensures the market is volatile enough to avoid noise
ATR Length (14): Used to dynamically define stop-loss and target zones
Risk-Reward Ratio (2.0): Take-profit is set at twice the stop-loss distance
Max Holding Bars (20): Trades are closed automatically after 20 bars to prevent stagnation
Originality Note
Unlike common strategies based on oscillators or moving averages, this script is built on pure statistical inference. It models the market as a probabilistic process and identifies directional intent based on historical closing behavior, filtered by volatility. This makes it a non-linear, adaptive model grounded in real-world price structure — not traditional technical indicators.
Disclaimer
This strategy is for educational and experimental purposes only. It does not constitute financial advice. Always perform your own analysis and test thoroughly before applying with real capital.
QQQ Strategy v2 ESL | easy-peasy-x This is a strategy optimized for QQQ (and SPY) for the 1H timeframe. It significantly outperforms passive buy-and-hold approach. With settings adjustments, it can be used on various assets like stocks and cryptos and various timeframes, although the default out of the box settings favor QQQ 1H.
The strategy uses various triggers to take both long and short trades. These can be adjusted in settings. If you try a different asset, see what combination of triggers works best for you.
Some of the triggers employ LuxAlgo's Ultimate RSI - shoutout to him for great script, check it out here .
Other triggers are based on custom signed standard deviation - basically the idea is to trade Bollinger Bands expansions (long to the upside, short to the downside) and fade or stay out of contractions.
There are three key moving averages in the strategy - LONG MA, SHORT MA, BASIC MA. Long and Short MAs are guides to eyes on the chart and also act as possible trend filters (adjustable in settings). Basic MA acts as guide to eye and a possible trade trigger (adjustable in settings).
There are a few trend filters the strategy can use - moving average, signed standard deviation, ultimate RSI or none. The filters act as an additional condition on triggers, making the strategy take trades only if both triggers and trend filter allows. That way one can filter out trades with unfavorable risk/reward (for instance, don't long if price is under the MA200). Different trade filters can be used for long and short trades.
The strategy employs various stop loss types, the default of which is a trailing %-based stop loss type. ATR-based stop loss is also available. The default 1.5% trailing stop loss is suitable for leveraged trading.
Lastly, the strategy can trigger take profit orders if certain conditions are met, adjustable in settings. Also, it can hold onto winning trades and exit only after stop out (in which case, consecutive triggers to take other positions will be ignored until stop out).
Let me know if you like it and if you use it, what kind of tweaks would you like to see.
With kind regards,
easy-peasy-x
Multi-Indicator Trend-Following Strategy v6Multi-Indicator Trend-Following Strategy v6
This strategy uses a combination of technical indicators to identify potential trend-following trade entries and exits. It is intended for educational and research purposes.
How it works:
Moving Averages (EMA): Entry signals are generated on crossovers between a fast and slow exponential moving average.
RSI Filter: Confirms momentum with a threshold above/below 50 for long/short entries.
Volume Confirmation: Requires volume to exceed a moving average multiplied by a user-defined factor.
ATR-Based Risk Management: Stop loss and take profit levels are calculated using the Average True Range (ATR), allowing for dynamic risk control based on market volatility.
Customizable Inputs:
Fast/Slow MA lengths
RSI length and levels
MACD settings (used in calculation, not directly in signal)
Volume MA and multiplier
ATR period and multipliers for stop loss and take profit
Notes:
This strategy does not guarantee future results.
It is provided for analysis and backtesting only.
Alerts are available for buy/sell conditions.
Feel free to adjust parameters to explore different market conditions and asset classes.